package com.example.springsecurity.mapper;

import com.alibaba.fastjson2.JSONObject;
import com.example.springsecurity.BaseTest;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;

import jakarta.annotation.Resource;
import java.util.List;

/**
 * @Description：
 * @Author： fengcheng
 * @Date： 2025/1/9 10:40
 */
@Slf4j
class SysMenuMapperTest extends BaseTest {

    @Resource
    private SystemMenuMapper systemMenuMapper;

    @Test
    void selectPermsByUserId() {
        List<String> strings = systemMenuMapper.selectPermsByUserId(1L);
        log.info("meun:{}", JSONObject.toJSONString(strings));
    }
}